package com.lw.spring.service;

import com.lw.spring.dao.UserDao;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/3 16:02
 */
public class UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void adderUser(){
        System.out.println("User中的方法执行了...");
        userDao.addUser();
    }
}
